<?php 
/*------------------------------------------------------------------------
# resumes - company resumes management 
# @author    pipapai.com
-------------------------------------------------------------------------*/

defined('_JEXEC') or die;
require_once(OC_App::getAppPath('calendar') . "/lib/helper.php");
// disable core styles to avoid bs conflict 
OC_Util::$core_styles = array();

if(isDevMode()) { 
   OCP\Util::addStyle('company', 'company');
   OCP\Util::addStyle('resumes', 'resumes');
   OCP\Util::addStyle('resumes', 'addresume');
   OCP\Util::addStyle('calendar', 'calendar.common');
   // Load the files we need
   OCP\Util::addScript('resumes', 'foldermanage');
   OCP\Util::addScript('resumes', 'addresume');
   OCP\Util::addScript('resumes', 'resumes.common');
} else {
   OCP\Util::addStyle('static', 'resumes');
   OCP\Util::addScript('static', 'apps/addresume.min');
}

OCP\App::setActiveNavigationEntry('resumes_index');
// Load the resumes
?>

<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('resumes/js', 'resumes.php'));?>"></script>
<?php echo $_['part_resume_top'];?>     
<?php echo $_['part_resume_add'];?> 
